package cn.com.miao.lynx.common.base.repository;

import cn.com.miao.lynx.common.base.model.BaseModel;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.NoRepositoryBean;

import java.io.Serializable;

/**
 * BaseRepository
 *
 * @title: BaseRepository
 * @description:
 * @author: dengmiao
 * @create: 2019-12-23 16:36
 **/
@NoRepositoryBean
public interface BaseRepository <E extends BaseModel<ID>, ID extends Serializable> extends JpaRepository<E, ID>, JpaSpecificationExecutor<E> {
}
